package ${package}.model;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
<#list importList as i>
import ${i!};
</#list>
<#if baseClass??>
import ${baseClass.packageName}.${baseClass.name};
</#if>

/**
 * ${tableComment}
 *
 * @author ${author} ${email}
 * @since ${version} ${date}
 */
@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@ApiModel("${tableComment}")
@TableName(value = "${tableName}", autoResultMap = true)
public class ${BeanName}Model<#if baseClass??> extends ${baseClass.name}</#if> {
<#list columnList as column>
  <#if !column.baseAttr>
	@ApiModelProperty(name = "${column.attrName}", value = "${column.columnComment}", dataType = "${column.attrType}")
	private ${column.attrType} ${column.attrName};
  </#if>

</#list>
}